<template>
    <div>
      <div class="con_tit">
        <span>历史搜索</span>
        <img src="../../../assets/img/delete2.png" alt="">
      </div>
      <ul>
        <li @click="searD()" v-for="(item,index) in seaData" :key="index">{{item}}</li>
      </ul>
    </div>
</template>

<script>
    export default {
      name: "Searchhistory",
      data(){
        return {
          seaData:['搜索历史1','搜索历史2','搜索历史3','搜索历史4','搜索历史1','搜索历史2','搜索历史3','搜索历史4']
        }
      },
      mounted(){
        mui.back = function() {
          window.history.go(-1);
        }
      },
      methods:{
        searD(){
          this.$router.push('/synthesize/0')
        }
      }
    }
</script>

<style scoped>
  .con_tit{
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
  }
  .con_tit span{
    font-size: 32px;
    color: #8c8c8c;
  }
  .con_tit img{
    width: 30px;
    height: 32px;
  }
  ul{
    display: flex;
    flex-wrap: wrap;
    border-bottom: 2px solid #bfbfbf;
  }
  ul li{
    font-size: 28px;
    padding: 30px 0 30px 40px;
    width: 50%;
    box-sizing: border-box;
    border-top: 2px solid #bfbfbf;
    border-right: 2px solid #bfbfbf;
  }
  ul li:nth-child(2n+2){
    border-right: none;
  }
</style>
